// 职位表
import {defineStore} from 'pinia'

export const usePersonSelectForm = defineStore('personSelectForm', {
    state: () => {
        return {
            id: '',
            name: '',
            position: '',
            date: '',
            department: '',
            phone: '',
            email: ''

        }
    },
    getters: {},
    actions: {
        createdForm(data) {
            this.id = data.id
            this.name = data.name
            this.position = data.position
            this.date = data.userEntryTimeFormating
            this.department = data.department
            this.phone = data.phone
            this.email = data.email
        }
    }

})
